﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

namespace SCFHS.Shared
{
    public partial class UploadImage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnUpload_Click(object sender, EventArgs e)
        {
            int FileCount = int.Parse(Page.Request.Form["fileCount"].ToString());
            for (int i = 0; i < FileCount; i++)
            {
                string FileToUpload = Page.Request.Form["file" + i.ToString()].ToString();
                if (!string.IsNullOrEmpty(FileToUpload))
                {
                    string FileDescription = Page.Request.Form["txtDescription" + i.ToString()].ToString();
                }


            }

        }
    }
}